package HW1;

import java.io.IOException;

public class StudentAgeException extends Exception{

    public StudentAgeException(){
        super();
    }

    @Override
    public void printStackTrace() {
       System.out.println("年龄错误，不能小于0或者大于100");
    }


}
